FROM hunet/jdk8:u181
# 从当前目录复制jenkins-test.jar复制到镜像的/usr/local下
COPY jenkins-test.jar /usr/local
# 指定/usr/local为工作目录
WORKDIR /usr/local
CMD java -jar jenkins-test.jar